import {saveRlGoodsNum} from "@/api/labelOrder";


export default {
  name: 'labelMixin',
  methods: {
    // 保存商品数据
    saveLabelGoodsNum(row){
      const data = {
        id: row.id,
        rlGoodsNum: row.rlOneStock + row.rlMiddleStock,
        rlOneStock: row.rlOneStock,
        rlMiddleStock: row.rlMiddleStock
      }
      // 只提交数据 不处理其他
      saveRlGoodsNum(data)
        .then(res=>{
        })
    }
  }
}
